#pragma once
#ifndef __G_SPHERE_H__
#define __G_SPHERE_H__

#include "GVector3.h"
#include "GUtilities/GTypes.h"

namespace GMath
{

	class GSphere
	{
	public:
		GVector3		Center;
		float			Radius;

						GSphere();
						GSphere(const GVector3& Center, float Radius);
						~GSphere();

		void			Create(const GVector3& Center, float Radius);

		float			GetArea() const;
		float			GetVolume() const;

		void			GetNormal(GVector3& OutNormal, const GVector3& SurfacePoint) const;
	
	};

}

#endif